package com.five.dao.backstage;

import com.five.entity.backstage.TRoomQuery;

import java.util.List;
import java.util.Map;

/**
 * Created by IntelliJ IDEA.
 * User: jianglin
 * Date: 2020/11/23  15:47
 */
public interface RoomQueDao {
     List<Map> queryAll(Integer page, Integer limit, TRoomQuery tRoomQuery);

     int deleteId(int id);
     int addRoom (TRoomQuery tRoomQuery);
     List<Map> queryRoomType();
     List<Map> selectRoomNumber(String roomcode);
     int updata(TRoomQuery tRoomQuery);

    int getAllCount(TRoomQuery tRoomQuery);

    int good(Integer id);

    int bad(Integer id);
}
